package main

import "fmt"

func a() {
	i := 0

	defer fmt.Println("i in a:", i)
	i++
	return
}

func b() {
	for i := 0; i < 4; i++ {
		defer fmt.Println("b:", i)
	}
}

func main() {
	a()
	b()
}
